package com.czz.portal.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.czz.portal.entity.Tag;
import com.czz.portal.mapper.TagMapper;
import com.czz.portal.service.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: TagServiceImpl
 * @Author Czz
 * @Date 2020/2/13
 * @Time 16:59
 **/
@Service
public class TagServiceImpl extends ServiceImpl<TagMapper, Tag> implements TagService {

    @Autowired
    TagMapper tagMapper;

    @Override
    public List<Tag> getQuestionTagList() {
        return tagMapper.selectList(null);
    }
}
